package com.homedo.odin.solution.dao;

import com.homedo.core.common.base.dao.BaseDao;
import com.homedo.odin.solution.model.entity.BountyTotal;
import com.homedo.odin.solution.model.entity.BountyTotalBean;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
 * <p> 悬赏汇总 Mapper 接口 </p>
 *
 * @author HarveyDing
 * @since 2018-03-08
 */
public interface BountyTotalMapper extends BaseDao<BountyTotal> {

    List<BountyTotalBean> getBountyMen(@Param("top") int top);

    BountyTotalBean getMyBountyTotal(@Param("userId") int userId);

}